tools/misc: xen-hvmcrash: New tool to attempt to crash HVM guests
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 29 Jul 2010 17:58:19 +0000 (18:58 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 29 Jul 2010 17:58:19 +0000 (18:58 +0100)
commit116fe7eac5cda05e693e167700b0a8156bb3f57a
tree9361df7c8f9bf2692d53d43ed708111a3e2f41a2
parent9becdd8ee96e8d2572b72a9b9c67a6e5c708971d
tools/misc: xen-hvmcrash: New tool to attempt to crash HVM guests

This tool reads the CPU save records, overwrites RIP with a bogus
value, and then restores them. This is, of course, not guaranteed
to crash the guest (since the CPUs may not be executing in kernel
at the time) but it's good for breaking into some tight loops that
would be hard to debug otherwise.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
.hgignore
tools/misc/Makefile
tools/misc/xen-hvmcrash.c [new file with mode: 0644]